Loops Page

This page is for loops. There are two main types of loops, there is the while loop, which as an extension also a do while loop, and there is the for loop. The while loop will continuously do a set of code while the condition is true. A for loop will do a set of code for x number of times, the x is equal to how many times the user will like the loop to run. Below are 2 different example of how the two loops work

This is example of the code used to show how Loops are used. It begins by setting the variables, it will then loop and set a value to what ever value one thing is multiplied with another. It will then begin another loop to print a message and reduce a value.